<?php 

define('THIS', 'PHP Configuration');

class Phpinfo
{
	public $load;
	
	function main()
	{
		ob_start();
		phpinfo(INFO_GENERAL | INFO_CREDITS | INFO_MODULES | INFO_ENVIRONMENT);
		$phpinfo = ob_get_clean();
		preg_match('#<body>(.*?)\<\/body>#se', $phpinfo, $match);
		$content = str_replace('<tr><td class="e">', '<p class="row"><label class="caption">', $match[1]);
		$content = str_replace('</td><td class="v">', '</label>', $content);
		$content = str_replace('</td></tr>', '</p>', $content);
		echo $content;
	}
}

?>